/* Lac Viet ERP                                                
 * Copyright (c) 2013 Lac Viet                                 
 * http://www.lacviet.com.vn                                   
 *=============================================================
 * File name            : AD_tblSetupCompany.cs         
 * Created by           : Auto - 04/23/2014 15:03:45                     
 * Last modify          : Auto - 04/23/2014 15:03:45                     
 * Version              : 1.0                                  
 * ============================================================
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LineOfBusiness.Poco
{
	[Serializable]
	public partial class AD_tblSetupCompany : BaseEntity
	{
		public AD_tblSetupCompany()
		{
			this.FormatQ = 0;
			this.FormatB = 0;
			this.FormatU = 0;
		}

	    #region Properties

		private string _CompanyName;
		[Required]
        [MaxLength(200)]
        public string CompanyName 
		{ 
			get
			{
                return _CompanyName;
			}
			set 
			{ 
                _CompanyName = value;
			} 
		}

		private string _Address;
        [MaxLength(200)]
        public string Address 
		{ 
			get
			{
                return _Address;
			}
			set 
			{ 
                _Address = value;
			} 
		}

		private string _Representer;
        [MaxLength(100)]
        public string Representer 
		{ 
			get
			{
                return _Representer;
			}
			set 
			{ 
                _Representer = value;
			} 
		}

		private string _Phone;
        [MaxLength(50)]
        public string Phone 
		{ 
			get
			{
                return _Phone;
			}
			set 
			{ 
                _Phone = value;
			} 
		}

		private string _FaxNo;
        [MaxLength(50)]
        public string FaxNo 
		{ 
			get
			{
                return _FaxNo;
			}
			set 
			{ 
                _FaxNo = value;
			} 
		}

		private string _Mobile;
        [MaxLength(50)]
        public string Mobile 
		{ 
			get
			{
                return _Mobile;
			}
			set 
			{ 
                _Mobile = value;
			} 
		}

		private string _Email;
        [MaxLength(50)]
        public string Email 
		{ 
			get
			{
                return _Email;
			}
			set 
			{ 
                _Email = value;
			} 
		}

		private string _WebPage;
        [MaxLength(50)]
        public string WebPage 
		{ 
			get
			{
                return _WebPage;
			}
			set 
			{ 
                _WebPage = value;
			} 
		}

		private byte[] _LogoFile;
        [MaxLength(2147483647)]
        public byte[] LogoFile 
		{ 
			get
			{
                return _LogoFile;
			}
			set 
			{ 
                _LogoFile = value;
			} 
		}

		private int? _FormatQ;
        public int? FormatQ 
		{ 
			get
			{
                return _FormatQ;
			}
			set 
			{ 
                _FormatQ = value;
			} 
		}

		private int? _FormatB;
        public int? FormatB 
		{ 
			get
			{
                return _FormatB;
			}
			set 
			{ 
                _FormatB = value;
			} 
		}

		private int? _FormatU;
        public int? FormatU 
		{ 
			get
			{
                return _FormatU;
			}
			set 
			{ 
                _FormatU = value;
			} 
		}

        #endregion
	}
}
